package com.taomeng.service;

import com.taomeng.entity.PageBean;
import com.taomeng.entity.Permission;
import com.taomeng.entity.Role;

import java.util.List;

public interface RoleService {
    PageBean<Role> findByPage(String page , String limit );

    List<Role> findRolesByLoginUserId(Long id);

    boolean updatePermission(String roleId, String[] pers);

    boolean add(Role role);

    boolean delRoleById(Long id);
}
